package com.hbnu.tangyalu.thread;

public class Consumer implements Runnable{
    private Box box;
    public Consumer(Box box){
        this.box=box;
    }

    @Override
    public void run() {
        box.get();
    }
}
